
SET TargetDir=%1
SET TargetDir="bin\Debug\"

REM IF %TargetDir%=
REM SET TargetDir=bin\Debug

mkdir "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings"

copy "Dither.Xna.Bindings.addin" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Dither.Xna.Bindings.addin" /y /d

xcopy ""%TargetDir%*.dll"" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\" /y /d
xcopy ""%TargetDir%*.pdb"" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\" /y /d
xcopy ""%TargetDir%*.xml"" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\" /y /d

mkdir "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\CommonFiles"
mkdir "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Resources"
mkdir "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Templates"

copy "CommonFiles\Game.ico" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\CommonFiles\Game.ico" /y /d
copy "CommonFiles\GameThumbnail.png" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\CommonFiles\GameThumbnail.png" /y /d

copy "Resources\BitmapResources.resource" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Resources\BitmapResources.resource" /y /d
copy "Resources\StringResources.resx" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Resources\StringResources.resx" /y /d

copy "Templates\EmptyContentProject.xpt" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Templates\EmptyContentProject.xpt" /y /d
copy "Templates\SpriteFontTemplate.xft" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Templates\SpriteFontTemplate.xft" /y /d
copy "Templates\EffectFileTemplate.xft" "..\..\SharpDevelop_4.3.1.9430_Source\AddIns\BackendBindings\XnaBindings\Templates\EffectFileTemplate.xft" /y /d